package org.dromara.cms.domain.vo;

import org.dromara.cms.domain.CmsModel;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 内容模型视图对象 cms_model
 *
 * @author Spring
 * @date 2024-12-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = CmsModel.class)
public class CmsModelVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 模型ID
     */
    @ExcelProperty(value = "模型ID")
    private Long id;

    /**
     * 模型名称
     */
    @ExcelProperty(value = "模型名称")
    private String modelName;

    /**
     * 模型标识
     */
    @ExcelProperty(value = "模型标识")
    private String modelCode;

    /**
     * 模型类型(article/page/category)
     */
    @ExcelProperty(value = "模型类型(article/page/category)")
    private String modelType;

    /**
     * 数据表名
     */
    @ExcelProperty(value = "数据表名")
    private String tableName;

    /**
     * 是否系统模型(0否 1是)
     */
    @ExcelProperty(value = "是否系统模型(0否 1是)")
    private Long isSystem;

    /**
     * 状态(0正常 1停用)
     */
    @ExcelProperty(value = "状态(0正常 1停用)")
    private String state;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
